@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import "../css/reset.css";


body {
    font-family: "Jost", sans-serif;
    color: #141024;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: rgba(20, 16, 36, 0.7);
    opacity: 70%;
}

h2 {
    font-weight: 600;
    font-size: 50px;
    line-height: 160%;
    margin-bottom: 40px;
}

h3 {
    font-weight: 600;
    font-size: 24px;
    line-height: 160%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: rgb(20,16,36);
    padding-top: 40px;
}

.logo  {
    font-weight: 700;
    font-size: 30px;
    line-height: 160%;
    color: #fff;
}

.header-nav {
    display: flex;
}

.item a {
    font-size: 20px;
    line-height: 160%;
    color: #fff;
}
.active {
    color: #D52027;
}

.item a:hover {
    color: #D52027;
}
.item:nth-last-child(n+2) {
    margin-right: 40px;
}

.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-phone a {
    font-weight: 600;
    font-size: 30px;
    line-height: 160%;
    color: #fff;
}

.header-hero {
    display: flex;
}

h1 {
    margin-top: 180px;
    font-weight: 600;
    font-size: 70px;
    line-height: 160%;
    color: #fff;
}

.header-left p {
    margin-top: 20px;
    width: 450px;
    font-size: 20px;
    font-weight: 300;
    line-height: 160%;
    color: #fff;

}
.header-right {
    margin-top: 80px;
    margin-left: 150px;
    width: 450px;
}

.btn {
    margin-top: 50px;
    border-radius: 5px;
    padding: 25px 54px;
    color: #fff;
    background: #d52027;
    transition: all 250ms ease;
}

.btn:hover {
    background: #91151c

}

/* Features */
.features {
    padding-bottom: 120px;
}
.featured-desc {
    margin-top: 120px;
    margin-bottom: 60px;
    width: 891px;
    font-weight: 400;
    font-size: 30px;
    line-height: 160%;
    color: #141024;
}

.features-items {
    display: flex;
    column-gap: 50px;
}

.number {
    font-weight: 600;
    font-size: 70px;
    line-height: 160%;
    color: #d52027;
}

.features-item p {
    width: 260px;
    font-size: 18px;
    line-height: 160%;
}

/* After */

.after {
    background: #f9f9f9;
    padding: 100px 0;
}

.after-items {
    display: flex;
    align-items: center;
    position: relative;
}

.after-item {
    width: 360px;
}

.after-item:nth-last-child(n+2) {
    margin-right: 20px;
}

.after-item p {
    margin-top: 20px;
}

.badge span {
    position: absolute;
    top: -50px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px 0 rgba(20, 16, 36, 0.1);
    background: #fff;
}

.after-items-important {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.after-item span {
    display: inline-block;
}

.couch {
    padding: 120px 0;
}
.couch-items {
    display: flex;
    column-gap: 50px;
}

.couch-item img{
    margin-bottom: 20px;
}

.couch-items h3 {
    margin-bottom: 10px;
}

.couch-items p {
    margin-bottom: 20px;
}
.couch-item a{
    color: #d52027;
}

.money {
    padding-bottom: 120px;
}
.money-items {
    display: flex;
    column-gap: 25px;
}
.money-item-active {
    background: #141024;
    color: #fff;
    border-radius: 20px;
    width: 360px;
}

.money-title {
    padding: 40px 117px 83px 117px;
    font-weight: 600;
    font-size: 30px;
    line-height: 160%;
    text-align: center;
}

.money-price {
    font-weight: 600;
    font-size: 50px;
    line-height: 160%;
    text-align: center;
    margin-bottom: 20px;
}

.money-item-active p {
    color: #fff;
    opacity: initial;
    text-align: center;
    margin-bottom: 52px;
}

.money-item-active .btn {
    padding: 30px 84px;
    margin: 0 40px 40px 40px;
}

.money-item {
    margin-top: 20px;
    border: 1px solid rgba(20, 16, 36, 0.2);
    border-radius: 20px;
    height: 460px;
}
.money-item .money-title {
    padding: 40px 104px 63px 104px;
}

.money-item p {
    opacity: initial;
    text-align: center;
    margin-bottom: 52px;

}
.money-item .btn {
    padding: 30px 84px;
    margin: 0 40px 20px 40px;
}

.form {
    padding-top: 87px;
    background: #d52027;
}
.form-row {
    display: flex;
    column-gap: 200px;
    padding-bottom: 87px;
}
.offer {
    width: 396px;
}
.offer-title {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: #fff;
}

.offer p {
    color: #fff;
    font-weight: 300;
    opacity: initial;
    font-size: 20px;
    line-height: 130%;
}

.form-action {
    display: flex;
    flex-direction: column;
}
input {
    padding: 19px 0 19px 20px;
    background: #f6f6f6;
    border-radius: 5px;
    width: 500px;
    margin-bottom: 10px;
}

input::placeholder {
    font-weight: 400;
    font-size: 18px;
    color: rgba(40, 41, 68, 0.7);
}

.form-action p {
    opacity: initial;
}

.form-action button {
    width: 500px;
    height: 64px;
    color: #fff;
    border-radius: 5px;
    background: #141024;
}


footer {
    background: #141024;
    padding-top: 40px;
}
.footer-row {
    display: flex;
    justify-content: space-between;

}

.footer-left p {
    font-weight: 200;
    font-size: 16px;
    line-height: 160%;
    color: rgba(255, 255, 255, 0.7);
}

.footer-right p {
    padding-bottom: 40px;
    color: #fff;
    font-weight: 600;
    font-size: 30px;
    line-height: 160%;
    color: #fff;
}